<template>
	<!-- 学习培训 -->
	<view class="news-wrap">
		<up-sticky bgColor="#fff">
			<up-tabs
			:scrollable="false"
			:list="tabList"
			@click="tabsClick"
			lineColor="#ff4e4e"
			:activeStyle="{ color: '#ff4e4e', fontSize: '30rpx', fontWeight: 'bold' }"
			:inactiveStyle="{ fontSize: '30rpx', fontWeight: 'bold' }"
			></up-tabs>
		</up-sticky>
		<publicity-list :publicityList="studyList" infoType='1' @getDetail="getDetail" />
	</view>
</template>

<script>
	import publicityList from '@/components/publicity-list.vue'
	export default {
		components: {
			publicityList
		},
		data() {
			return {
				tabList: [
					{
						name: '培训通知'
					},
					{
						name: '培训风采'
					},
					{
						name: '培训内容'
					}
				],
				studyList: []
			}
		},
		methods: {
			tabsClick() {
				
			},
			getDetail() {
				uni.navigateTo({
				    url: '../../publicity-education/learning-training/detail'
				});
			}
		}
	}
</script>

<style>
</style>